package models.vos.money {

	public class MoneyUnit {

		public var name:String;

		public var code:String;

		public var exchangeRate:Number;


		public function MoneyUnit(code:String = "USD") {
			this.code = code;
			if( code == "USD" ){
				this.name = "United States Dollar";
				this.exchangeRate = 1;
			} else if ( code == "VND" ){
				this.name = "Vietnamese Dong";
				this.exchangeRate = 18400;
			}			
		}

	} // end class
} // end package